define(['plugins/router', 'knockout'], function(router, ko) {
	// child shell :app-cms/product/shell
	var childRouter = router.createChildRouter()
		.makeRelative({
			moduleId: 'app-cms/product',
			fromParent: true,
			//route:'product',//显示定义父级路由名
//			dynamicHash:':id'
		}).map([
			{route: ['','info'],moduleId: 'template/index',title: '产品简介',nav: true},
			{route: 'intro',moduleId: 'template/index',title: '产品介绍',nav: true},
			{route: 'price',moduleId: 'template/index',title: '产品价格',nav: true},
			{route: 'servers',moduleId: 'template/index',title: '产品售后',nav: true},
		]).buildNavigationModel();
	return {
		router: childRouter,
		activate:function (...rest) {
			debugger;
			console.log(rest);
		}
	}
})